package com.ruoyi.quartz.task;

import com.ruoyi.common.core.redis.RedisCache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("BoleTask")
public class BoleTask {
    //换成redis里的次数
    @Autowired
    private RedisCache redisCache;
    public void resetFindPassword(Integer count)
    {
        redisCache.setCacheObject("Find:findPasswordCount", count);
        System.out.println("当前时间：" + count);
    }
}
